package cn.fintecher.pangolin.service.manage.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Auther: xiaqun
 * @Description: 登录请求
 * @Date: 15:02 2019/8/13
 */

@Data
public class LoginRequest {
    @ApiModelProperty(value = "用户名")
    @NotNull(message = "username.is.required")
    private String username;

    @ApiModelProperty(value = "密码")
    @NotNull(message = "password.is.required")
    private String password;

    @ApiModelProperty(value = "设备编码")
    private String deviceCode;

    @ApiModelProperty(value = "Mac地址")
    private String mac;
}
